package com.lh.recallbootrabbitmq.constants;

public enum ExchangeTypeEnum {
    /**
     * direct
     */
    DIRECT("direct"),
    /**
     * topic
     */
    TOPIC("topic"),
    /**
     * fanout
     */
    FANOUT("fanout"),
    /**
     * headers
     */
    HEADERS("headers");

    private String code;

    private ExchangeTypeEnum(String code) {
        this.code = code;
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

}
